package com.zfx.service;

import org.springframework.beans.factory.InitializingBean;
import org.springframework.stereotype.Component;

import javax.annotation.PostConstruct;

@Component
public  class LubanService3 implements InitializingBean {
	@Override
	public void afterPropertiesSet() {
		System.out.println("init..... afterPropertiesSet() ");
	}

	 public LubanService3(){
		 System.out.println("constructor.....");
	 }

	@PostConstruct
	 public void xxxx(){
		 System.out.println("init.....xxxx ");
	 }

	public void init() {
		// do some initialization work
		System.out.println("do some initialization work XML配置");
	}

}
